Release 10.1A: OpenEdge Development:
Progress 4GL Reference
HWND attribute
An integer value for a Windows handle to the window that contains the widget.
Data type: INTEGER Access: Readable Applies to: BROWSE widget, BUTTON widget, COMBO-BOX widget, CONTROL-FRAME widget, DIALOG-BOX widget, EDITOR widget, FIELD-GROUP widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, MENU widget, MENU-ITEM widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, SUB-MENU widget, TEXT widget, TOGGLE-BOX widget, WINDOW widgetThis attribute is supported for dynamic link library (DLL) access only in Windows. Some DLL routines require that you pass this value.
For Progress window widgets, the Windows window that contains the widget is actually the parent of the Windows widget referenced by HWND. Thus, to obtain the handle of the Windows window that contains the Progress window, you must pass the value of HWND to the
GetParent( )function (in theuser32.dll). Pass the result ofGetParent( )to the DLL routine that requires it.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |